package com.example.easybuy.service;


import com.example.easybuy.pojo.EasybuyOrder;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author 张子晨
 * @since 2021-03-12
 */
public interface EasybuyOrderService {

    public int addOrder(Map<String, Object> params);

    public EasybuyOrder selectOrderBySerialNumber(String serialNumber);

    //根据用户id查询全部订单
    public List<EasybuyOrder> getAllOrderByUserId(Integer userId);
}
